package com.xwj.back.pojo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("order_pay")
public class OrderPay {
    @TableId(type = IdType.AUTO)
    private Integer orderId;
    @ExcelProperty("门店编号")
    private Integer storeId;
    @ExcelProperty("门店名称")
    private String storeName;
    @ExcelProperty("物业管理费")
    private double propertyFees;
    @ExcelProperty("租聘费")
    private double hireFees;
    @ExcelProperty("总计")
    private double allFees;
    @ExcelIgnore
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/Shanghai")
    private Date createTime;
    private String orderNumber;
    private boolean status;
}
